const randomInt = function (min, max) {
    min = Math.ceil(min);
    max = Math.floor(max);
    return Math.floor(Math.random() * (max - min + 1)) + min;
}

const test = function () {
    console.log(Math.sin(Math.PI / 6), "--->>>sin30");
    console.log(Math.sin(Math.atan2(1, Math.sqrt(3))), "--->>>sin30_2");
    console.log(Math.asin(1 / 2), Math.PI / 6, "--->>>asin0.5");
    console.log(rad2Angle(Math.atan2(1, 1)), "--->>>atan2 45");
}

const rad2Angle = function (rad) {
    return rad * 180 / Math.PI;
}